<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;

/* @var $this yii\web\View */
/* @var $model common\models\kingdee\OrgAdmin */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="org-admin-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'FID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FNAME_L1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FNAME_L2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FNAME_L3')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FNUMBER')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FDESCRIPTION_L1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FDESCRIPTION_L2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FDESCRIPTION_L3')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FSIMPLENAME')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISGROUPING')->textInput() ?>

    <?= $form->field($model, 'FEFFECTDATE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FINVALIDDATE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISFREEZE')->textInput() ?>

    <?= $form->field($model, 'FISCOMPANYORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISADMINORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISSALEORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISPURCHASEORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISSTORAGEORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISPROFITORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISCOSTORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISCU')->textInput() ?>

    <?= $form->field($model, 'FISUNION')->textInput() ?>

    <?= $form->field($model, 'FISHRORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FCREATORID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FCREATETIME')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLASTUPDATEUSERID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLASTUPDATETIME')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FCONTROLUNITID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISLEAF')->textInput() ?>

    <?= $form->field($model, 'FLEVEL')->textInput() ?>

    <?= $form->field($model, 'FLONGNUMBER')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FPARENTID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISENTITY')->textInput() ?>

    <?= $form->field($model, 'FISVIRTUAL')->textInput() ?>

    <?= $form->field($model, 'FPHONENUMBER')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLAYERID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FRESPONPOSITIONID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FADDRESSID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FPRINCIPALID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLAYERTYPEID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FBASEDUTY_L1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FBASEDUTY_L2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FBASEDUTY_L3')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FINDEX')->textInput() ?>

    <?= $form->field($model, 'FJOBSYSTEMID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FADMINADDRESS_L1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FADMINADDRESS_L2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FADMINADDRESS_L3')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FZIPCODE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FFAX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISSEALUP')->textInput() ?>

    <?= $form->field($model, 'FISSTART')->textInput() ?>

    <?= $form->field($model, 'FISOUSEALUP')->textInput() ?>

    <?= $form->field($model, 'FDISPLAYNAME_L1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FDISPLAYNAME_L2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FDISPLAYNAME_L3')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FPROPERTYSEALUPDATE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FVERSIONNUMBER')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FCODE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISTRANSPORTORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FISQUALITYORGUNIT')->textInput() ?>

    <?= $form->field($model, 'FSORTCODE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FINDUSTRYID')->dropDownList(ArrayHelper::map(\common\models\kingdee\Industry::find()->all(), 'FID', 'FNAME_L2'),
        [
//            'class' => 'form-control input-sm',
            'prompt' => \common\consts\CommonResources::PROMPT_PLS_SELECT(),
        ]) ?>

    <?= $form->field($model, 'FECONOMICTYPE')->textInput() ?>

    <?= $form->field($model, 'FREGISTEREDCAPITAL')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FREGISTEREDCODE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FSETUPDATE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FENDUPDATE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FTAXNUMBER')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISCHURCHYARD')->textInput() ?>

    <?= $form->field($model, 'FJURIDICALPERSONID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISJURIDICALCOMPANY')->textInput() ?>

    <?= $form->field($model, 'FISINDEPENDENCE')->textInput() ?>

    <?= $form->field($model, 'FTERRITORY_L1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FTERRITORY_L2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FTERRITORY_L3')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FORGCODE')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FAREAID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FORGPROPERTYID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FREGISTTYPEID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FEFFDT')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLEFFDT')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FHISTORYRELATEID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FDELEGATEHRID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FORGFUNCTIONID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FCOMPANYID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FDEPARTMENTID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FOFFICEID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLEVELFOURGROUPID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLEVELFIVEGROUPID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLEVELFIVEGROUP')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FLEVELSIXGROUPID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FRESERVEFIELDFIRST')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FRESERVEFIELDSECOND')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FRESERVEITEMFIRST')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FRESERVEITEMSECOND')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'FISSTARTSHR')->textInput() ?>

    <?= $form->field($model, 'FORGTYPESTR')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
